@ebtalk If it did not overheat after you physically attached the button and the behaviour only started after the script was installed then that is your issue. Remove the script. Reboot and see what happens. Then re-initialise the script. If it is the script then remove it and start again. To be honest it should work or not. It just sends a sudo shutdown -h now command to the Pi. Just seems very odd behaviour. Maybe find another script and compare the two.